package com.biu.billiards.model.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xue
 * @since 2023-09-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class User extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 会员状态
     */
    private String vipStatus;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime changeTime;

    /**
     * 用户金额
     */
    private BigDecimal userBalance;

    /**
     * 历史金额
     */
    private BigDecimal historicalAmount;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 用户生日
     */
    private String birthday;

    /**
     * 用户状态 -1:封禁 、0:冻结、1:正常
     */
    private Integer userStatus;

    /**
     * 昵称
     */
    private String nickname;

    private Integer playHour;

    private String openId;


    private String shopId;

    private Integer userType;

    private BigDecimal wallet;

    private Integer bankType;

    /**
     * 银行卡名称
     */
    private String bankCardName;
    /**
     * 银行卡
     */
    private String bankCard;




}
